/**
 * @author 赵希奥
 * @date 2022/3/18 0:54
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description:
 */
public class Client {
    public static void main(String[] args) {
        BmwCar car_previous, car_new;
        car_previous = new BmwCar();
        car_previous.setTire("子午线轮胎");
        car_previous.setEngine("汽油发动机");
        car_previous.setSteeringWheel("四幅方向盘");
        System.out.println("car_previous: " + car_previous);
        car_new = car_previous.clone();
        System.out.println("car_new: " + car_new);
    }
}
